<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>5元素溢出</title>
    <style>
        div {
            border: 5px solid #f00;
            width: 500px;
            overflow: visible;
            overflow: hidden;
            overflow: scroll;
            overflow: auto;
        }
        img{
            width: 200px;
            vertical-align: baseline;
            vertical-align: bottom;
            vertical-align: top;
            vertical-align: middle;
        }
    </style>
</head>
<body>
abyj<img src="img/1.jpg">国圈<img src="img/1.jpg">
<div>
    <img src="img/1.jpg" alt="">
    <img src="img/1.jpg" alt="">
    <img src="img/1.jpg" alt="">
</div>
</body>
</html>